home *** CD-ROM | disk | FTP | other *** search
/ Champak 26 (Anniversary Edition) / Volume 26 [Anniversary Edition] - JOGO DISK .iso / Fight / fightingschool.swf / scripts / frame_147 / PlaceObject2_120_22 / CLIPACTIONRECORD onClipEvent(load).as < prev   
Text File  |  2006-06-09  |  478b  |  25 lines

  1. onClipEvent(load){
  2.    hp = 10;
  3.    ACTION = false;
  4.    moving = true;
  5.    ATT = false;
  6.    cnt = 0;
  7.    stopcnt = random(30) + 10;
  8.    waittime = random(500) + 100;
  9.    tmptime1 = 0;
  10.    tmptime2 = 0;
  11.    stepdis = _root.ENE1_STEPDIS;
  12.    movl = false;
  13.    movr = false;
  14.    if(_root.b1._x < this._x)
  15.    {
  16.       this.gotoAndPlay("n_l");
  17.       moving = "LEFT";
  18.    }
  19.    else if(this._x < _root.b1._x)
  20.    {
  21.       this.gotoAndPlay("n_r");
  22.       moving = "RIGHT";
  23.    }
  24. }
  25.